package com.qunchuang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qunchuang.pojo.entity.LiftAgvcTaskEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
//任务表
@Mapper
public interface LiftAgvcTaskMapper extends BaseMapper<LiftAgvcTaskEntity> {
    @Select("select * from lift_agvc_task")
    ArrayList<LiftAgvcTaskEntity> selectAllTask();
    @Select("select * from lift_agvc_task where lift_id =#{liftId} and agv_id =#{agvId}")
    LiftAgvcTaskEntity selectLiftAgvTask(String liftId,String agvId);


}
